The Imagick class
PHP Manual

Imagick::cropImage

(PECL imagick 2.0.0)

Imagick::cropImageExtracts a region of the image

Descripción

bool Imagick::cropImage ( int $width , int $height , int $x , int $y )
Warning

Esta función no está documentada actualmente, solamente se encuentra disponible la lista de parámetros.

Extracts a region of the image.

Lista de parámetros

width

The width of the crop

height

The height of the crop

x

The X coordinate of the cropped region's top left corner

y

The Y coordinate of the cropped region's top left corner

Valores retornados

Returns TRUE on success.

Errors/Exceptions

Throws ImagickException on error.


The Imagick class
PHP Manual